Objects Reference

picture::LoadPic

Prototype

int LoadPIC(char *file)

Parameters

Parameter Type Description
file char * filename for the image to load

Return Value

Returns TRUE if loading is OK, FALSE an any error.

Remarks

This function is used to load an image. The extension is looked up and depending on the type of image (TGA or JPG) the appropriate loading function is called.